package com.example.module_home.api


import com.bw.moudle_house.module.HouseResultData
import com.example.house.entity.HouseEntityItem
import com.example.lib_common.view.api.BaseApiServer
import retrofit2.http.GET
import retrofit2.http.Path

interface HouseApiService:BaseApiServer {
    @GET("/api/properties/region/{regionId}")
    suspend fun getHouse(@Path("regionId")regionId:Int): HouseResultData<List<HouseEntityItem>>

    @GET("/api/properties")
    suspend fun getHouseAll():HouseResultData<List<HouseEntityItem>>
}